package com.qiaofang.entity;

import com.qiaofang.common.model.BaseDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 省市区
 */
@Data
@Entity
@Table(name = "tm_area")
public class Area extends BaseDomain {

    @ApiModelProperty("")
    @Column(name = "orders")
    private Integer orders;

    @ApiModelProperty("")
    @Column(name = "full_name")
    private String fullName;

    @ApiModelProperty("")
    @Column(name = "name")
    private String name;

    @ApiModelProperty("")
    @Column(name = "tree_path")
    private String treePath;

    @ApiModelProperty("")
    @Column(name = "parent")
    private Long parent;

    @ApiModelProperty("")
    @Column(name = "jd_id")
    private String jdId;

    @ApiModelProperty("")
    @Column(name = "pin_yin")
    private String pinYin;

}
